﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BBICMS.Model.Works;

namespace BBICMS.Model.ViewModel.Front
{
    public class FrontHomeVM 
    {
        public IEnumerable<Work> Works { get; set; }

     //   public IList<Advertisement> Advertisements { get; set; }
        public IEnumerable<Carousel> Carousels { get; set; }
      

        //public string ProductsJSON
        //{
        //    get
        //    {
        //        JsonSerializerSettings settings =
        //            new JsonSerializerSettings()
        //            {
        //                ReferenceLoopHandling = ReferenceLoopHandling.Ignore
        //            };

        //        settings.ContractResolver =
        //            new CamelCasePropertyNamesContractResolver();


        //        var products = JsonConvert.SerializeObject(this.Products, settings);
        //        return products;
        //    }
        //}

        
    }
}
